From 08ec81dea8bd2a9629761c0d81726eb97ce6a8b8 Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 27 Jun 2009 23:47:05 +0000 Subject: [PATCH] Add missing braces in GPX schema detector. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3682 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/gpx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpsbabel/gpx.c b/gpsbabel/gpx.c index e89b994f2..6658ce2d3 100644 --- a/gpsbabel/gpx.c +++ b/gpsbabel/gpx.c @@ -440,9 +440,10 @@ tag_gpx(const char **attrv) */ else if (strcmp(avp[0], "xsi:schemaLocation") == 0) { if (0 == strcmp(avp[1], DEFAULT_XSI_SCHEMA_LOC_11)) { - if (0 == strcmp(xsi_schema_loc, DEFAULT_XSI_SCHEMA_LOC)) + if (0 == strcmp(xsi_schema_loc, DEFAULT_XSI_SCHEMA_LOC)) { xfree(xsi_schema_loc); xsi_schema_loc = xstrdup(DEFAULT_XSI_SCHEMA_LOC_11); + } continue; } if (0 == strstr(xsi_schema_loc, avp[1])) { -- 2.30.2